package valeria.model;

public class ProfessorVO {

	private int prof;
	private String name;
	private String major;
	
	public ProfessorVO(int prof,String name,String major){
		this.prof=prof;
		this.name=name;
		this.major=major;
	}
	public void setProf(int prof){this.prof=prof;}
	public void setName(String name){this.name=name;}
	public void setMajor(String major){this.major=major;}
	
	public int getProf(){return prof;}
	public String getName(){return name;}
	public String getMajor(){return major;}
	
	@Override
	public String toString() {
		String result="";
		result+=prof+"/"+name+"/"+major;
		return result;
	}
	
}
